package org.dromara.web.system.domain;

import org.dromara.common.mybatis.core.domain.BaseEntity;
import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serial;

/**
 * 供应商评价对象 app_supplier_evaluation
 *
 * @author Lion Li
 * @date 2025-09-19
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("app_supplier_evaluation")
public class AppSupplierEvaluation extends BaseEntity {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 评价唯一ID
     */
    @TableId(value = "id")
    private Long id;

    /**
     * 供应商ID
     */
    private Long supplierId;

    /**
     * 评价用户ID
     */
    private Long userId;

    /**
     * 星级评分，1-5
     */
    private Long starRating;

    /**
     * 评价总分
     */
    private Long totalScore;

    /**
     * 交付及时性评分
     */
    private Long deliveryScore;

    /**
     * 成本评分
     */
    private Long costScore;

    /**
     * 服务评分
     */
    private Long serviceScore;

    /**
     * 潜力评分
     */
    private Long potentialScore;

    /**
     * 备注
     */
    private String remark;


}
